Here is the scenario:
1. I have a table (tblCalendar) with the following fields:
caldID
caldDate
caldTitle
caldInfo
nWinW
nWinH
2. By design, when [caldInfo].value Is Null, [nWinW] and [nWinH] are both
Not Null
3. In order to filter and sort the data (because I want it for an .asp page)
there is a query displaying the first four fields.
4. Problem No1: I want to add a fifth field (column) in the query, that will
display a text string ONLY WHEN the corresponding [caldInfo].value Is Null.
5. Problem No2: That text string is the following javascript command:
<a href="javascrip t:;" onClick="MM_ope nBrWindow('file Path','winName' ,
'status=1,winWi dth,winHeight') ">Details.. .</a>
6. Furthermore, the arguments of MM_openBrWindow () should be replaced by the
following text/fieldnames:
filePath = ../calendar/[caldID].htm
winName = htm[caldID]
status=1 = status=1 (the same)
winWidth = [nWinW]
winHeight = [nWinH]
The general idea is that I don't know how to replace/escape the
single/double quotes of the javascript, that should be inside the double
quotes of the text string in the query.
Can you help me please?
------- ---- --- -- - -
[gt] aka geotso
------- ---- --- -- - -
Please, remove hyphens to contact me
1. I have a table (tblCalendar) with the following fields:
caldID
caldDate
caldTitle
caldInfo
nWinW
nWinH
2. By design, when [caldInfo].value Is Null, [nWinW] and [nWinH] are both
Not Null
3. In order to filter and sort the data (because I want it for an .asp page)
there is a query displaying the first four fields.
4. Problem No1: I want to add a fifth field (column) in the query, that will
display a text string ONLY WHEN the corresponding [caldInfo].value Is Null.
5. Problem No2: That text string is the following javascript command:
<a href="javascrip t:;" onClick="MM_ope nBrWindow('file Path','winName' ,
'status=1,winWi dth,winHeight') ">Details.. .</a>
6. Furthermore, the arguments of MM_openBrWindow () should be replaced by the
following text/fieldnames:
filePath = ../calendar/[caldID].htm
winName = htm[caldID]
status=1 = status=1 (the same)
winWidth = [nWinW]
winHeight = [nWinH]
The general idea is that I don't know how to replace/escape the
single/double quotes of the javascript, that should be inside the double
quotes of the text string in the query.
Can you help me please?
------- ---- --- -- - -
[gt] aka geotso
------- ---- --- -- - -
Please, remove hyphens to contact me
Comment