Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Enter Parameters

Status
Not open for further replies.

tonijel

Technical User
Joined
Mar 5, 2006
Messages
5
Location
HR
Hi,
I have a Data Access Page which is generated on behalf of a query.
Query uses one parameter field ,so when is started it promts with the form named Enter Parameters in which I have to input parameter value.
So before the DAP is opened, first is displayed parameter form.
I would like to change dimensions of that form(height, width) but I dont know how.
I already tryied by opening DAP in design view & then in microsoft script editor but i couldn't find anything about this pop-up parameter form.
Any suggestions are wellcome:rolleyes:
 
See:

It's kinda complex and it's hard to test if you're not on a server.

You might want to create a DAP from your query(non-prompt) and then have a combobox to do a filter or find. It's alot simpler.

Read:

Custom filtering and search:
 
thx fneily but it didn't work out....
After I press command button on the DAP for parameter input , i get error so I given up...
The error is : Object required: 'txtMytextBoxName1'

This is the error line from page source:

' Values in the text box are stored in the value property,
' while bound span controls store the value in InnerText.
pVariable1 = txtMytextBoxName1.value
pVariable2 = txtMytextBoxName2.value

so when button pressed nothing happens & no page opens.

I was thinking if You could suggest me how could I make DAP which will have only one text box in which will the value written there be forwarded to some parameter SQL...

Do you know what VB code should I implement in onClick action for button so he could start some query who would use value placed in that text box and then generate results in DAP....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top