Passing characters

  • Thread starter Secret Squirrel
  • Start date
S

Secret Squirrel

I'm using the following code to pass data from one form to another but the
data I'm trying to pass has other characters besides letters in it. What
string should I use instead of the Chr(34)?

If Len(Me.OpenArgs) > 0 Then
Me![RMA#].DefaultValue = Chr(34) & Me.OpenArgs & Chr(34)
Me![Customer].DefaultValue = Chr(34) & [Forms]![2005
Form]![Customer] & Chr(34)
Me![PO#].DefaultValue = Chr(34) & [Forms]![2005 Form]![Customer PO#]
& Chr(34)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top