Hi
I load an xml file with simplexml_load_file into the variable $xml. The element 'data' of the xml-file contains an attribute 'temp' with a temperature in degrees Celcius:
<data temp="18°C" fineweather="70%" frostborder="3800"/>
To transform it to xhtml I use:
$vormTemp =...
To build a page dynamically I use a string like the following:
<?php
$header_0_en = <<<EOD
<div id="langcontainer">
<?php echo setLanguage($_SERVER['PHP_SELF']); ?>
</div>
EOD;
?>
This produces the error: unexpected T_ENCAPSED_AND_WHITESPACE
So far I didn't find a...
I have a mshflexgrid which is bound to a hierarchical recordset. I want the enable the user to select rows of the parent recordset but not the rows of the child recordset. Can anybody show me a way to prevent the selection of the rows bound to the child recordset?
Thanks for your assistance.
I'm stuck with the following problem:
When the user selects a row in a hierarchical flexgrid (flgReport) I retrieve a value from the selected row which is stored in Col 1.
I did it that way in the click event:
Private Sub flgReport_Click()
Dim strNum$
flgReport.Col = 1
strNum = flgReport.Text...
When I create an .exe file of my project I keep receiving the following error message:
[Microsoft][ODBC Microsoft Access Driver] Invalid Password
I connect to a password protected access database with a connection string like:
strConn = "PROVIDER=MSDASQL; DSN=mydatabase; PWD=mt8901;"
So far I...
I want to enable the user to navigate the cells, columns and rows of a datagrid with the tabkey.
I set the datagrid's properties as follows:
.AllowArrows = True
.TabAction = dbgGridNavigation
.WrapCellPointer = True
According to the docu that should enable the tab key as desired...
I have a MSHFlexgrid (flgRooms) that has the datasource set to a hierarchical recordset (rstRooms). It is used to show data to the user depending on a date he chooses from a datalist. Whenever the Mshflexgrid is filled the first time the first row does not show. It seems that it uses the fixed...
I use the CommonDialog control (cdlMain) for the user to save html files. I want to prevent the user from changing directories. It seems to me that setting the flag cdlOFNNoChangeDir doesn't have any influence.
strDir = "d:\hutlogs\confirmations"
With cdlMain
.CancelError = True...
I use a CommonDialog to let the user select html files:
With cdlMain
.CancelError = True
.DefaultExt = "html"
.Filter = "HTML Dateien (*.html)|*.html"
.Flags = cdlOFNHideReadOnly + cdlOFNFileMustExist + cdlOFNPathMustExist
.ShowOpen
End With
When I run the project this...
Hi
I have a strange problem with refilling a DataList:
I have a form where the user can update entries in a table. Once he has done that I want to refill a datalist which is based on a recordset (rstMem) from that table in another form (frmRes).
frmRes.rstMem.Requery
frmRes.dblstMembers.ReFill...
I am trying to insert a variable $row[link] that is stored in a MySQL-Database into a webpage. So far I have not been able to quote the string correctly at href=\" ...
I keep receiving the error: ...unexpected T_VARIABLE in ...
$result = mysql_query("select link, textde from links...
Hi
I am new to PHP and Apache.
I want to test my PHP-scripts locally and so far everything worked fine. Now I'm trying to process a form with:
<form name="contact" action="<?= echo $_SERVER['PHP_SELF'] ?>" method="POST">
That generates error 403:
Forbidden. You...
In an access-program to manage the stock of products I retrieve the following fields from a table to get the remaining stock of a product:
QUANTITY, LENGTH. (And of course the primary key)
If for a certain LENGTH the same quantity has been booked out (negative values) as has been booked in...
In an access-program to manage the stock of products I retrieve the following fields from a table to get the remaining stock of a product:
QUANTITY, LENGTH. (And of course the primary key)
If for a certain LENGTH the same quantity has been booked out (negative values) as has been booked in...
I use the following code to delete a record from the recordset rstOrders.
rstOrders contains just one record. The record is taken from an Access DB.
Cursor type is adOpenStatic, adLockOptimistic.
Private Sub cmdDelete_Click()
Dim intAnswer As Integer
On Error GoTo DeleteErr
intAnswer =...
I installed an application that I developped with VB6 on a user's machine. Everything is working fine except compacting the Access DB causes an error:
Database name or number is wrong.
To provide the possibility to compact an Access DB I used JRO. The reference to JRO 2.5 library is added in the...
I want to provide the user with the possibility to compact an Access97 Database from the application.
Now I am stuck with the following problem:
When I run the following code error -2147467259 is generated: 'Couldn't open database. Either the database isn't recognized by the application or it is...
I'm facing the following problem:
To check whether the user selected an item in a DataCombo I check the SelectedItem property of the datacombo. If it returns NULL no item is selected.
The code is like:
If Me.DataCombo1.SelectedItem = NULL then
MsgBox "Text ...."
End if
The strange...
Can anyone advise with the following problem:
In my application one column in a DataGrid contains text with carriage returns. (from an Access table) The carriage returns must be kept since they are used for printing the data.
The only thing I'd like to avoid is that they are displayed in the...
I loop through a recordset to print it's contents. One field contains multipleline text. To print that field I use the API-function DrawText.
I need to set the rec.bottom property dynamically to get the right size of the RECT depending on the size of the text in the field.
So far I have not...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.