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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. MerlinB

    DTC controls and browser non-compatability

    You could use stylesheets to spruce them up! Unfortunately the DTC's do not refer to a stylesheet Class name - but this is very easy to fix. Anyway, here are a couple of ideas: * Use stylesheets to fix ALL textboxes etc. - by creating styles for <INPUT..> of various types, TD/TR, BODY, P etc...
  2. MerlinB

    Simply establishing a connection to an Access database

    Find the global.asa file in the root of your web. Right click it and add the db connection there - i.e. select the ODBC driver and select your DSN name. Make sure the web server also has the DSN name registered - and that it has a local copy of the MDB file. It usually has permissions problems...
  3. MerlinB

    Data View Not Active

    For VI to 'see' a database, it needs to connect to the database in the same way as the server does. This means that if the connection uses ODBC, then make sure the ODBC DSN has been created on your local machine, as well as on the server. (this is why the Web runs OK - as it uses the...
  4. MerlinB

    An error occurred when reading the local state for the project

    In VI, you have two copies of web files - one on the master web server, and one local to your pc - often on the C or D drive. It sounds as though VI has problems reading or writing to the local copy of the web. Make sure the front-page server extensions is configured on the server...
  5. MerlinB

    Displaying Page Nos. in Grid DTC

    You will need to adjust the code in _ScriptLibrary/DATAGRID.ASP In the Display method (function _DG_display(bReturnText) ), find this block: if (this.hasPageNumber) { strHTML += '<TD align=right valign=middle>'; strHTML += '<FONT size=2><NOBR>' + String(curPage+1) + ' / ' +...
  6. MerlinB

    How to get dates to display/store in dd/mm/yyyy format.

    Perhaps it is the regional settings of the web server login (IUSR_zzz) that is wrong. The way that we overcame the problem is to ensure that the month is always presented as a short name (Jan Feb etc.)Just make sure the year is in full - so the year and day do not get confused! To assist in...
  7. MerlinB

    How to get dates to display/store in dd/mm/yyyy format.

    If you get the date from Access into a RecordsetDTC, then the value is already converted to a string (by the RecorsetDTC code). This has some nasty implications, esp. if the International Settings on the server is US not UK! You could look through the RecordsetDTC code in the _ScriptLibrary...
  8. MerlinB

    How to get dates to display/store in dd/mm/yyyy format.

    The FormatDateTime is not very flexible! Your best bet is to use the many functions to get the various bits of date out: dtToday = Date strDate = Day(dtToday) & &quot;/&quot; & Month(dtToday) ..etc if you wanted two digit day & month try: .. Right(&quot;0&quot; & Day(dtToday), 2) .. ttfn...
  9. MerlinB

    Client side validation with DTCs and SOM

    Your code looks correct, so there must be some other reason for failure. Did you add a PageObjectDTC to the page? This creates the thisPage object against which the event runs. Secondly, try some alerts to see what values are sent to the event. In Interdev, try getting the Script Outline...
  10. MerlinB

    Showing friendly messages while restricting duplicate Primary Keys.

    You may be better served by issuing a query to check for a duplicate, and prevent the save from happening if not OK. www.corporateinternet.com
  11. MerlinB

    DTC Listbox problem

    The Script Object Model enforces some requirements on a web page, so that the DTC's will work. One of these requirements is that the web page is ONE big form (you MUST NOT add your own FORM tag - there is already one at the very top of the HTML). This form will post back to itself - NOT to...
  12. MerlinB

    Adding or Deleting Rows

    Point taken. It probably is a bug in Interdev - though it is not really designed to do this type of editing. It is really a developer (for code) tool. Try getting a copy of HTMLKit, which we use (its like notepad for HTML). www.corporateinternet.com
  13. MerlinB

    Adding or Deleting Rows

    You may find that you can bash the data into an excel spreadsheet, and save it in HTML format. This gives you the Table rows, nicly sorted and so on. Then you could use notepad, Interdev, Dreamweaver or whatever to adjust the formatting (Excel does add rather a lot of extra formatting info)...
  14. MerlinB

    Where do cookies go?

    No! session is a SERVER SIDE object created by ASP. cookies are a CLIENT SIDE feature, maintained by the browser. cookie values are sent with EVERY client request - so they should be kept small. ASP reads these cookie values, and places them into the request.cookies collection for you. To...
  15. MerlinB

    Where do cookies go?

    In IE, look at Tools/Internet Options, then click the 'Settings' button in the Temporary Internet Files section. This shows you the place where cookies and other files are stored. Cookies are stored here when your ASP code uses the Response.Cookies(&quot;Key&quot;).Value = &quot;Fred&quot...
  16. MerlinB

    Adding or Deleting Rows

    I am a bit confused. You are creating a STATIC web page with hand-coded lines of data in a table (grid) layout. Static means that it is just an HTML page, no ASP to dynamically build the list at run time. While Interdev is not a great HTML editor, and for design purposes Dreamweaver is...
  17. MerlinB

    Visual Interdev &amp; Netscape

    It takes a lot of effort to bind a debugger interface into any product. VI only knows about Internet Explorer for debugging (ie. for stepping thru code and viewing the values of variables etc.) Windows authentication is only supported by some browsers - infact only IE, I think. This is...
  18. MerlinB

    Preview in Browser works...but it doesnt....what?

    Are you running local-mode in VI, but testing against the remote (Master) when browsing? www.corporateinternet.com
  19. MerlinB

    Form Object Not Showing

    I am not entirely sure what you mean. You may need to click onto the Script-Outline, or HTML Outline 'tab' of the toobox area. I use the Script-Outline view for adding Event-Handlers to my form pages - when using Design-Time-Controls (DTCs). If you do not know much HTML, then read a...
  20. MerlinB

    MAPI Issues - can anyone help?

    I move the items out of exchange to a separate (MIME complient) system. MAPI is the only product that provides the BCC information that I need (CDO blanks it out). But MAPI, which does not know or care about the message file format - it does not understand SMTP or offer a Stream to access the...

Part and Inventory Search

Back
Top