A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Creating a virtual form



 
 
Thread Tools Display Modes
  #1  
Old June 7th, 2004, 06:26 PM
Russ
external usenet poster
 
Posts: n/a
Default Creating a virtual form



hi all,

I need to recreate the forms used by access to control the display of query info.

I have an SP in SQL that kicks out a table of info.

All I want to do is have a generic piece of code that will handle any table structure tha I throw at it. .. Just like viewing a query.

So far I have

Dim frm as new form
frm.recordset = rs 'my recordset
frm.defaultview = "Datasheet"

Now I need to handle the creation of the text boxes

I was looking at appliacation.createobject ... but this can only be used in design view.

Any body any ideas.

I've created multiple controls on form before in design view about 3 years ago and I cannot rememebr how.


any help greatly appreciated.


Thanks in advance Russ
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:22 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.