Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Access Forms Coding > using unbound c...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 41505 of 43413
Post > Topic >>

using unbound comboboxes

by "Mark Kubicki" <mark@[EMAIL PROTECTED] > Aug 5, 2008 at 04:46 PM

If someone could simply tell me if I'm in the right direction

- i have a table [Re****tList] with 2 fields: [Re****tCommonName] and 
[Re****tName]
- on a form, i have a combobox: cboRe****tSelect with [Re****tCommonName] as

its datasource
- the user's selection in the cbo will determine what [Re****tName] will be

used in in a "print re****t" command

- i think i need to set up a global variable [vRe****tName] and assign to
it 
the value of the [Re****tName] where [Re****tCommonName] = cboRe****tSelect
- i am trying to use this line of code:
        vRe****tName = DLookup("[Re****tName]", "Re****tList", 
"[Re****tCommonName] = cboRe****tSelect.value")

 (but am not having much luck)

- i would then use the variable in a line of code something like this:
        Dim blRet As Boolean
        blRet = ConvertRe****tToPDF("vRe****tName", vbNullString,
"temp.pdf", 
False, True, 0, "", "", 0, 0)

thanks in advance,
mark
 




 2 Posts in Topic:
using unbound comboboxes
"Mark Kubicki"   2008-08-05 16:46:43 
Re: using unbound comboboxes
"Linq Adams via Acce  2008-08-05 21:30:36 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 21:15:34 CST 2008.